package org.example.backend.service;

import org.example.backend.dto.OpeningHoursDTO;
import org.example.backend.entity.OpeningHours;

import java.time.DayOfWeek;
import java.time.LocalDateTime;
import java.util.List;

public interface OpeningHoursService {
    OpeningHours createOpeningHours(OpeningHoursDTO openingHoursDTO);
    OpeningHours updateOpeningHours(Long id, OpeningHoursDTO openingHoursDTO);
    void deleteOpeningHours(Long id);
    OpeningHours getOpeningHours(Long id);
    List<OpeningHours> getAllOpeningHours();
    OpeningHours getOpeningHoursByDay(DayOfWeek dayOfWeek);
    boolean isOpenAt(LocalDateTime dateTime);
} 